import { Opt } from '__com/Opt.js'

export class listOpt extends Opt {
  constructor(vm) {
    super(vm)
  }
  create() {
    return [
      {
        title: '省份',
        field: 'parentName',
        minWidth: 170
      },

      {
        title: '城市',
        field: 'cityName',
        minWidth: 140
      },
      {
        field: 'handles',
        title: '操作',
        width: 200,
        fixed: 'right',
        cell: (info) => {
          return {
            btn: [
              {
                title: '查看',
                click: (d) => {
                  this.toView(d)
                }
              }
            ]
          }
        }
      }
    ]
  }
}
